home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / BROWSERS / CAB / TRANSGIF / TRNGIF_E.TXT < prev    next >
Encoding:
Text File  |  1996-07-02  |  1.6 KB  |  48 lines

  1. TransGIF
  2. ---------------------------------------------------------------------
  3.  
  4. This program may be distributed with CAB. Separate distribution is not 
  5. allowed.
  6.  
  7.  
  8. TRANSGIF.TTP enables one colour in a GIF image to be defined as 
  9. transparent. All pixels of this colour are not displayed in HTML pages 
  10. and are effectively invisible. This program provides a convienient 
  11. method of masking any irregular edges in GIF icons and images.
  12.  
  13. ATTENTION!
  14. This program is a primitive hack and has NO safety features whatsoever. 
  15. Use with CAUTION, there is no guarantee the program will function 
  16. correctly!
  17.  
  18. The source file is never changed and must be in GIF87a format (e.g. 
  19. Papillon Save).
  20. The destination image is always in GIF89a format (GIF87a does not 
  21. support a transparent colour). Consequently the destination image 
  22. cannot subsequently be used as a source image with TRANSGIF.TTP.
  23.  
  24. Important!
  25. Verified the destination file has the correct colour set as transparent 
  26. and displays correctly in CAB before deleting the source file, you have 
  27. been warned!
  28.  
  29. Calls:
  30.  
  31. transgif.ttp <filename>
  32.  
  33.  Displays the entire colour palette as list of RGB values. The 
  34.  <filename> must be a GIF87a image.
  35.  
  36. Example: transgif.ttp any87a.gif
  37.  
  38.  
  39. transgif.ttp <colour index> <source file> <destination file>
  40.  
  41.  Reads a GIF 87a image <source file>, defines the colour in <colour 
  42.  index> as transparent then saves the result as a GFI 89a image in 
  43.  <destination file>.
  44.  
  45. Example: transgif.ttp 0 old87a.gif new89a.gif
  46.  
  47. ---------------------------------------------------------------------
  48. EOF